package com.chase.springboot.model.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;


@Data
public class CommentDTO implements Serializable {
    private static final long serialVersionUID = -5957433707110390852L;

    @NotBlank(message = "标题id不能为空")
    private String topicId;

    /**
     * 内容
     */
    @NotBlank(message = "评论内容不能为空")
    private String content;

    /**
     * 回应评论id
     */
    private String replyId;

}
